package learning;

public class OjaRule implements LearningRule{
	public double getDeltaWeight(double presynaptic, double postsynaptic, double learningRate,double weight,double inError) {
		return learningRate*postsynaptic*(presynaptic-postsynaptic*weight);
	}
}
